package com.coo.events
{
	import flash.events.Event;

	public class XMLLoaderEvent extends Event
	{
		public static const COMPLETE: String = "Complete";
		
		public var xml: XML;
		
		public function XMLLoaderEvent( xml: XML, type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			this.xml = xml;
		}
		
		public override function clone(): Event
		{
			return new XMLLoaderEvent( xml, type, bubbles, cancelable );
		}
		
		public override function toString():String
		{
			return formatToString( "XMLLoaderEvent", "xml", "type", "bubbles", "cancelable", "eventPhase" );
		}
		
	}
}